import 'package:flutter/material.dart';

class BmNumber extends StatefulWidget {
  @override
  State<BmNumber> createState() => _BmNumberState();
}

class _BmNumberState extends State<BmNumber> {
  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Container(
          padding: EdgeInsets.symmetric(vertical: 18,horizontal: 12),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: [
              Container(
                child: Stack(
                  fit: StackFit.loose,
                  textDirection: TextDirection.ltr,
                  alignment: Alignment.centerLeft,
                  children: [
                    Container(
                      width: 30,
                      height: 30,
                      decoration: BoxDecoration(
                          color: Colors.red,
                          borderRadius: BorderRadius.circular(15)),
                    ),
                    Container(
                      width: 30,
                      height: 30,
                      margin: EdgeInsets.only(left: 10),
                      decoration: BoxDecoration(
                          color: Colors.yellow,
                          borderRadius: BorderRadius.circular(15)),
                    )
                  ],
                ),
              ),
              Row(
                children: [
                  Container(
                    child: Text(
                      '已报名16人',
                      style: TextStyle(fontSize: 13),
                    ),
                  ),
                  Container(
                    child: Icon(
                      Icons.arrow_forward_ios_sharp,
                      size: 10,
                    ),
                    margin: EdgeInsets.only(left: 10),
                  )
                ],
              )
            ],
          ),
        ),
        Container(
          height: 8,
          color: Color.fromRGBO(249, 249, 249, 1),
        ),
      ],
    );
  }
}
